 import React , { Component } from 'react';
 import './data-mgt.css';
 import {Switch,Route} from 'react-router-dom';
 import ShowWorkShop from './showWorkshop';
 import ShowDataMgt from './showDataMgt';
 import ShowWells from './showWells';

 class DataMgt extends Component {
   render() {
     return (
       <Switch>
         <Route exact path="/data-mgt" component={ShowWorkShop}></Route>
         <Route exact path="/data-mgt/showWells" component={ShowWells}></Route>
         <Route path="/data-mgt/showData" component={ShowDataMgt}></Route>
       </Switch>
    )
   }
 }

 export default DataMgt;